package com.bolehui.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bolehui.base.result.Result;
import com.bolehui.domain.po.FilePO;
import org.springframework.web.multipart.MultipartFile;

import java.io.UnsupportedEncodingException;

/**
 * @author chendongjie     email:chendongjie@gz.iscas.ac.cn
 * @version 1.0
 * @ClassName uploadService
 * @Description
 * @createTime 2024/12/2 11:00
 * Copyright (C) 2021-2022 CASEEDER, All Rights Reserved.
 * 注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的
 */
public interface UploadService extends IService<FilePO> {

    Result upload(MultipartFile file, Long id);

    Result queryResume( Long id);

    Result deleteResume(Long id) throws Exception;

    Result previewImage(Long id) throws UnsupportedEncodingException;

}
